<%--
  Created by IntelliJ IDEA.
  User: chenx
  Date: 2019/7/18
  Time: 1:27
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="../common/taglibs.jsp"%>
<%@include file="../common/_head.jsp"%>
<html>
<head>
    <title>控制台</title>
</head>
<body pname="<%=basePath%>">
<div class="layui-fluid">
    <div class="layui-row layui-col-space15">

    <c:forEach items="${userPermissions}" var="permission">
        <c:if test="${permission eq '/home/registerStatics'}">
            <div class="layui-col-md12" id="registerStatics">
                <div class="layui-card">
                    <div class="layui-card-header">用户注册量统计图</div>
                    <div class="layui-card-body">

                        <div class="layui" style="margin-left: 70px; margin-right: 100px;">
                            <button class="layui-btn layui-btn-sm" id="year-reg" style="margin-left: 5px;">年</button>
                            <button class="layui-btn layui-btn-sm" id="month-reg" style="margin-left: 5px;">月</button>
                            <label id="registerUser" style="float: right; color: red;">总注册量：</label>
                        </div>

                        <div class="layui-carousel layadmin-carousel layadmin-dataview" data-anim="fade" lay-filter="LAY-index-normcol">
                            <div carousel-item id="LAY-index-normcol-reg">
                                <div><i class="layui-icon layui-icon-loading1 layadmin-loading"></i></div>
                            </div>
                        </div>

                    </div>
                </div>
            </div>
        </c:if>

        <c:if test="${permission eq '/home/rechargeWithdrawStatics'}">
            <div class="layui-col-md12" id="rechargeWithdrawStatics">
                <div class="layui-card">
                    <div class="layui-card-header">用户充值提现统计图</div>
                    <div class="layui-card-body">

                        <div class="layui" style="margin-left: 70px; margin-right: 100px; height: 50px;">
                            <button class="layui-btn layui-btn-sm" id="year-recW" style="margin-left: 5px;">年</button>
                            <button class="layui-btn layui-btn-sm" id="month-recW" style="margin-left: 5px;">月</button>
                            <label id="rechargeAndWithdraw" style="float: right; color: red;">总注册量：<br>总注册量：</label>
                        </div>

                        <div class="layui-carousel layadmin-carousel layadmin-dataview" data-anim="fade" lay-filter="LAY-index-normcol">
                            <div carousel-item id="LAY-index-normcol-recW">
                                <div><i class="layui-icon layui-icon-loading1 layadmin-loading"></i></div>
                            </div>
                        </div>

                    </div>
                </div>
            </div>
        </c:if>
    </c:forEach>
    </div>
</div>

<script src="<%=path%>/js/home/home.js?v=1.1.7"></script>

</body>
</html>
